package com.css.fxfzdpzs.modules.dzzh.scheduled;

import com.css.fxfzdpzs.modules.dzzh.service.DzzhService;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author y1fan
 * @description
 */
@Component
public class DzzhScheduled {

    @Resource
    DzzhService dzzhService;

    //@Scheduled(cron ="0 0/1 * * * ?")
    public void dzzhData() {
        dzzhService.dzzhData();
    }

}
